/**
 *@description:
 *@file: power_up.cpp
 *@author: snow-tyan
 *@email: zziywang@163.com
 *@date: 21 March 2023
 *@copyright: 2018-2022 AiRiA. All rights reserved.
 */

#include "mygl/game/power_up.h"

namespace mygl {

namespace game {
const glm::vec2 kPowerUpSize = glm::vec2(60.0f, 20.0f);
const glm::vec2 kPowerUpVelocity = glm::vec2(0.0f, 150.0f);

PowerUp::PowerUp(std::string type, glm::vec3 color, GLfloat duration, glm::vec2 position,
                 std::shared_ptr<Texture2D> texture2d)
    : GameObject(position, kPowerUpSize, texture2d, color, kPowerUpVelocity),
      type(type),
      duration(duration),
      activated(false) {}

}  // namespace game
}  // namespace mygl
